from matplotlib import pyplot as plt

def main():
    a = [35, 41, 21, 14, 6, 2, 0, 2] 
    plt.bar(["A", "B", "C", "D", "E", "F", "G", "H"], a)
    plt.ylabel("ordinate")
    plt.show()


if __name__ == "__main__":
    main()